import request from '@/utils/request'


export function addCompany(data) {
    return request({
      url: '/company/addCompany',
      method: 'post',
      data
    })
  }

  export function getCompanyList(data) {
    return request({
      url: '/company/getCompanyList',
      method: 'post',
      data
    })
  }
  export function getVerifyCompanyList(data) {
    return request({
      url: '/company/getVerifyCompanyList',
      method: 'post',
      data
    })
  }

  export function passCompny(data) {
    return request({
      url: '/company/passCompny',
      method: 'post',
      data
    })
  }
  
  export function choiceCompany(data) {
    return request({
      url: '/company/choiceCompany',
      method: 'post',
      data
    })
  }
  
  export function getMyCompany() {
    return request({
      url: '/company/getMyCompany',
      method: 'get'
    })
  }

    
  export function editMyCompany(data) {
    return request({
      url: '/company/editMyCompany',
      method: 'post',
      data
    })
  }

      
  export function editCompany(data) {
    return request({
      url: '/company/editCompany',
      method: 'post',
      data
    })
  }
      
  export function getCompanyDetail(data) {
    return request({
      url: '/company/getCompany',
      method: 'post',
      data
    })
  }
        
  export function rejectCompany(data) {
    return request({
      url: '/company/rejectCompany',
      method: 'post',
      data
    })
  }
         
  export function addCompanyHistory(data) {
    return request({
      url: '/company/addCompanyHistory',
      method: 'post',
      data
    })
  }